package com.yl.auth.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author yl
 * @since 2023-06-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "病史")
public class Bingshi implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 现病史
     */
    @ApiModelProperty(value = "现病史")
    private String newbingshi;

    /**
     * 既往病史
     */
    @ApiModelProperty(value = "既往病史")
    private String oldbingshi;


    @TableField("laoren_id")
    private Long laorenId;

    private Integer jinshi;
    private Integer xizao;
    private Integer zhuangshi;
    private Integer chuanyi;
    private Integer ruce;
    private Integer yidong;
    private Integer renzhi;
    private Integer qingxu;
    private Integer shijue;
    private Integer tingli;
    private String qita;

    /**
     * 其他疾病
     */
    @ApiModelProperty(value = "其他疾病")
    private String descbingshi;

    @TableField(exist = false)
    private String[] newbingshis;

    @TableField(exist = false)
    private String[] oldbingshis;

}
